package com.imooc.o2o.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_local_auth")
public class LocalAuth implements Serializable {

	@Column(name = "local_auth_id")
	private Integer localAuthId;

//	@Column(name = "user_id")
//	private Integer userId;
	private PersonInfo personInfo;

	@Column(name = "user_name")
	private String userName;

	private String password;

	@Column(name = "create_time")
	private java.util.Date createTime;

	@Column(name = "last_edit_time")
	private java.util.Date lastEditTime;

}
